projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c5ab9
)
efi_loader: workaround for grub lsefi bug
author
Rob Clark
<
[email protected]
>
Thu, 20 Jul 2017 11:59:39 +0000
(07:59 -0400)
committer
Alexander Graf
<
[email protected]
>
Mon, 24 Jul 2017 12:47:36 +0000
(14:47 +0200)
Patch has also been sent to fix grub to not ignore the error returned
and treat protocol_buffer_count as valid. But that that might take a
while to trickle into distro's, so this workaround might be useful.
Signed-off-by: Rob Clark <
[email protected]
>
Signed-off-by: Alexander Graf <
[email protected]
>
lib/efi_loader/efi_boottime.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_boottime.c
b/lib/efi_loader/efi_boottime.c
index e09f9dac5c875576af6efef14db1da30202a7026..7d45c18ff778644286aa5cb257b48474561121b3 100644
(file)
--- a/
lib/efi_loader/efi_boottime.c
+++ b/
lib/efi_loader/efi_boottime.c
@@
-866,6
+866,7
@@
static efi_status_t EFIAPI efi_protocols_per_handle(void *handle,
{
EFI_ENTRY("%p, %p, %p", handle, protocol_buffer,
protocol_buffer_count);
+ *protocol_buffer_count = 0;
return EFI_EXIT(EFI_OUT_OF_RESOURCES);
}